@charset "utf-8";

@import "color";
@import "index-head";

.upload {
    background: $bg_gray;

    .upload-head {
        height: 25%;
        .circle {
            box-sizing: border-box;
            padding: 0.4rem 0.8rem;
            width: 60%;
            margin: 0 auto;
            white-space: nowrap;
            position: relative;
            .li {
                display: inline-block;
                width: 33%;
                text-align: center;
                position: relative;
                .text {
                    color: $white;
                    font-size: 0.18rem;
                    position: absolute;
                    height: 0.2rem;
                    line-height: 0.2rem;
                    width: 0.6rem;
                    top: 50%;
                    left: 50%;
                    margin-left: -0.3rem;
                    margin-top: -0.1rem;
                }
                &.first {
                    text-align: left;
                    .text {
                        left: 0.5rem;
                        right: auto;
                    }
                }
                &.last {
                    text-align: right;
                    .text {
                        left: auto;
                        right: 0.2rem;
                    }
                }
                img {
                    width: 1rem;
                }
            }
        }
        .dotted {
            border-bottom: 2px dotted $ph_color;
            width: 25%;
            position: absolute;
            left: 19%;
            top: 50%;
            margin-top: -1px;
            &.dotted-right {
                left: 56%;
            }
            &.orange {
                border-color: $orange;
            }
        }
    }
    .upload-body {
        height: 75%;
        .step {
            height: 100%;
            margin: 0 auto;
            &.step-one {
                width: 60%;
                .btn {
                    padding: 0.8rem 0;
                    white-space: nowrap;
                    .file-name {
                        display: inline-block;
                        width: 70%;
                        border: 1px solid $segment;
                        height: 0.6rem;
                        line-height: 0.6rem;
                        padding-left: 0.1rem;
                        color: $ph_color;
                        border-radius: 3px 0 0 3px;
                        box-shadow: 0 2px 20px 0 $segment;
                        vertical-align: middle;
                    }
                    .file-btn {
                        display: inline-block;
                        .el-button {
                            padding: 0.21rem 0.70rem;
                            margin-left: -0.05rem;
                            margin-top: -0.01rem;
                            font-size: 0.18rem;
                        }
                    }
                }
                .tips {
                    position: relative;
                    li {
                        height: 0.4rem;
                        color: $ph_color;
                        &.upload-img {
                            position: absolute;
                            right: 0;
                            top: 50%;
                            margin-top: -1rem;
                            height: 1.1rem;
                            width: 1.1rem;
                            cursor: pointer;
                        }
                        .orange {
                            color: $orange;
                        }
                        a {
                            color: $strong_red;
                        }
                    }
                }
            }
            &.step-two {
                width: 90%;
                .describe {
                    padding: 0.2rem 0;
                    box-sizing: border-box;
                }
                .next-change {
                    padding-top: 0.1rem;
                }
                .el-table {
                    background: $bg_gray;

                }
            }
            &.step-three {
                width: 50%;
                .success-icon {
                    display: inline-block;
                    width: 85px;
                    height: 85px;
                    background: url("../../assets/images/spirit.png") no-repeat -248px -348px;
                    margin-top: 0.2rem;
                }
                .success-text {
                    padding-top: 0.5rem;
                    .to-check {
                        margin: 0.4rem 0;
                        a {
                            color: $strong_red;
                        }
                    }
                }
            }
        }
    }
}
